<template>
  <el-form label-width="100px">
    <el-form-item label="公司名称">
      <el-input v-model="companyInfo.name" disabled />
    </el-form-item>
    <el-form-item label="公司地址">
      <el-input v-model="companyInfo.companyAddress" disabled />
    </el-form-item>
    <el-form-item label="公司邮箱">
      <el-input v-model="companyInfo.mailbox" disabled />
    </el-form-item>
    <el-form-item label="公司备注">
      <el-input v-model="companyInfo.remarks" disabled />
    </el-form-item>
    <el-form-item label="电话">
      <el-input v-model="companyInfo.companyPhone" disabled />
    </el-form-item>
  </el-form>
</template>
<script>
import { company } from '@/api/setting.js'
export default {
  name: '',
  data() {
    return {
      companyInfo: ''
    }
  },
  async created() {
    const res = await company()
    console.log('info', res)
    this.companyInfo = res.data[0]
  }
}
</script>
<style scoped lang="scss"></style>
